<ul class="nav nav-list">

    <li class="active">
        <a href="{:U('Public/main')}">
            <i class="icon-dashboard"></i>
            <span>首页</span>
        </a>
    </li>

    <li>
        <a href="{:U('Order/index')}">
            <i class="icon-calendar"></i>
            <span>订单管理</span>
        </a>
    </li>

    <?php if($_SESSION['loginUserType'] == 1):?>
    <li>
        <a href="#" class="dropdown-toggle" >
            <i class="icon-desktop"></i>
            <span>商品管理</span>
            <b class="arrow icon-angle-down"></b>
        </a>
        <ul class="submenu">
            <li><a href="{:U('Shop/index')}"><i class="icon-double-angle-right"></i>商品列表</a></li>
            <li><a href="{:U('Shop/add')}"><i class="icon-double-angle-right"></i>新增商品</a></li>
            <li><a href="{:U('Shop/import')}"><i class="icon-double-angle-right"></i>导入商品</a></li>
            <!--<li><a href="{{:U('Shop/index')}}"><i class="icon-double-angle-right"></i>特价商品</a></li>-->
        </ul>
    </li>
    <?php endif;?>

    <!--<li>-->
        <!--<a href="#" class="dropdown-toggle" >-->
            <!--<i class="icon-edit"></i>-->
            <!--<span>文章管理</span>-->
            <!--<b class="arrow icon-angle-down"></b>-->
        <!--</a>-->
        <!--<ul class="submenu">-->
            <!--<li><a href="{:U('Article/index')}"><i class="icon-double-angle-right"></i>文章列表</a></li>-->
            <!--<li><a href="{:U('Article/add')}"><i class="icon-double-angle-right"></i>新增文章</a></li>-->
        <!--</ul>-->
    <!--</li>-->

    <li>
        <a href="#" class="dropdown-toggle" >
            <i class="icon-edit"></i>
            <span>会员管理</span>
            <b class="arrow icon-angle-down"></b>
        </a>
        <ul class="submenu">
            <li><a href="{:U('Member/index')}"><i class="icon-double-angle-right"></i>会员列表</a></li>
            <?php if($_SESSION['loginUserType'] == 1):?>
            <li><a href="{:U('Member/level_index')}"><i class="icon-double-angle-right"></i>等级设置</a></li>
            <li><a href="{:U('Member/credits_history')}"><i class="icon-double-angle-right"></i>积分兑换历史</a></li>
            <?php endif;?>
        </ul>
    </li>

    <?php if($_SESSION['loginUserType'] == 1):?>
    <li>
        <a href="#" class="dropdown-toggle" >
            <i class="icon-desktop"></i>
            <span>分店管理</span>
            <b class="arrow icon-angle-down"></b>
        </a>
        <ul class="submenu">
            <li><a href="{:U('Boss/index')}"><i class="icon-double-angle-right"></i>分店管理</a></li>
            <li><a href="{:U('Boss/add')}"><i class="icon-double-angle-right"></i>创建分店</a></li>
        </ul>
    </li>


    <li>
        <a href="{:U('Setting/index')}">
            <i class="icon-list-alt"></i>
            <span>网站设置</span>

        </a>
    </li>

    <?php endif;?>

</ul>